﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMasterPage.master" AutoEventWireup="true"
    CodeFile="EditStudent.aspx.cs" Inherits="Modeling_Sub_Pages_NewsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        #main
        {
            min-width: 1050px;
        }
        .toCenter
        {
            margin-right: auto;
            margin-left: auto;
        }
        .firstEventRight
        {
            background-color: #2F3957;
            color: #FFFFFF;
            font-weight: bold;
            font-size: 18px;
            vertical-align: top;
            padding-top: 25px;
            padding-left: 15px;
        }
        .linkStyle2
        {
            font-size: 15pt;
            text-decoration: none;
            color: #FFFFFF;
            font-weight: bold;
        }
        .linkStyle2:hover
        {
            cursor: pointer;
        }
        
        .linkStyle2:visited
        {
            font-size: 15pt;
            text-decoration: none;
            color: #FFFFFF;
            font-weight: bold;
        }
        .timeText2
        {
            color: #FFFFFF;
            font-size: 13pt;
            font-weight: lighter;
        }
        .linkStyle3
        {
            padding: 5px;
            font-size: 13pt;
            text-decoration: none;
            color: #3333FF;
            background-color: #FFFFFF;
            font-weight: lighter;
            font-style: italic;
        }
        .linkStyle3:hover
        {
            cursor: pointer;
            color: #FFFFFF;
            background-color: #3366FF;
        }
        .EventTable
        {
            border-top-style: solid;
            border-top-width: thick;
            border-top-color: #999999;
        }
        .linkEvent
        {
            color: #293392;
            text-decoration: none;
            font-size: 15px;
            font-weight: bold;
        }
        .linkEvent:hover
        {
            text-decoration: underline;
        }
        .linkEvent:visited
        {
            color: #293392;
            text-decoration: none;
            font-size: 15px;
            font-weight: bold;
        }
        .tdCenter
        {
            border-top-style: solid;
            border-bottom-style: solid;
            border-top-width: thin;
            border-bottom-width: thin;
            border-top-color: #C0C0C0;
            border-bottom-color: #C0C0C0;
            height: 5px;
        }
        .dataPagerButton
        {
            text-decoration: none;
            font-size: 15px;
            font-weight: bold;
        }
        .dataPageTDStyle
        {
            text-align: right;
            border-top-style: solid;
            border-bottom-style: solid;
            border-top-width: thin;
            border-bottom-width: thin;
            border-top-color: #C0C0C0;
            border-bottom-color: #C0C0C0;
        }
        #tbEventList
        {
            padding-bottom: 20px;
            margin-right: auto;
            margin-left: auto;
        }
        #center1
        {
            width: 1060px;
            min-height: 500px;
            padding-top: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        #center
        {
            width: 800px;
        }
        .newTitle
        {
            font-size: 20px;
            font-weight: bold;
            text-decoration: none;
            color: #000040;
        }
        .newTitle:hover
        {
            text-decoration: underline;
        }
        .newTitle:visited
        {
            color: #000040;
        }
        .tdNewsContent
        {
            vertical-align: top;
            padding-left: 10px;
        }
        .readMore
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
            float: right;
        }
        .readMore:hover
        {
            text-decoration: underline;
            color: #0066FF;
        }
        .readMore:visited
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
        }
        .tableNews
        {
            border-bottom-style: dotted;
            border-bottom-width: thin;
            border-bottom-color: #666666;
            margin-bottom: 10px;
        }
        .imgNews
        {
            width: 200px;
            height: 150px;
            margin-bottom: 10px;
        }
        .lbSelectDate
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
        }
        .lbSelectDate:hover
        {
            text-decoration: underline;
            color: #0066FF;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div id="center1">
        <div id="left">
            <table>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Staff/AdmissionManager.aspx"
                            CssClass="LinkStyle1">Admission Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td id="activeTD">
                        <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Staff/StudentManagerment.aspx"
                            CssClass="activeLink">Student Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Staff/ScoresManagerment.aspx"
                            CssClass="LinkStyle1">Scores Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Staff/EventManagerment.aspx"
                            CssClass="LinkStyle1">Events Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Staff/NewsManagerment.aspx"
                            CssClass="LinkStyle1">News Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Staff/CoursesManagerment.aspx"
                            CssClass="LinkStyle1">Course Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Staff/CoursesRegisManager.aspx"
                            CssClass="LinkStyle1">Course Regis Manager...</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/Staff/FeedbackManager.aspx"
                            CssClass="LinkStyle1">Feedback Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Staff/ChangePassword.aspx"
                            CssClass="LinkStyle1">Change Password</asp:HyperLink>
                    </td>
                </tr>
            </table>
        </div>
        <div id="center">
            <table id="tbEventList">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Label ID="lblTitle" runat="server" Text="Edit Student" Font-Size="20pt" ForeColor="#990033"></asp:Label>
                        <br />
                        <br />
                    </td>
                </tr>
                <tr>
                    <td width="200">
                        <strong>First Name: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                        <asp:Label ID="Label1" runat="server" Text="*" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please input your first name!"
                            ControlToValidate="txtFirstName" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Last Name: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                        <asp:Label ID="Label2" runat="server" Text="*" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please input your last name!"
                            ControlToValidate="txtLastName" Display="Static" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Gender: </strong>
                    </td>
                    <td>
                        <asp:RadioButton ID="rdbMale" runat="server" Text="Male" GroupName="gender" Checked="True" />
                        <asp:RadioButton ID="rdbFemale" runat="server" Text="Female" GroupName="gender" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Date of Birth: </strong>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlYear_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:DropDownList ID="ddlMonth" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlMonth_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:DropDownList ID="ddlDay" runat="server">
                        </asp:DropDownList>
                        <asp:Label ID="Label3" runat="server" Text="*" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please choose your date of birth!"
                            ControlToValidate="ddlDay" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Street Address: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtStreetAdress" runat="server" Width="250"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>State: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtState" runat="server" Width="100"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>City: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCity" runat="server" Width="100"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Phone Number: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPhoneNumber" runat="server" Width="120"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtPhoneNumber"
                            ErrorMessage="Phone number not Correct!" ValidationExpression="[0-9]+" Display="Dynamic"
                            ValidationGroup="checkVa"></asp:RegularExpressionValidator>
                        <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Phone number must not have more than 15 digits!"
                            ControlToValidate="txtPhoneNumber" OnServerValidate="CustomValidator1_ServerValidate"
                            Display="Dynamic" SetFocusOnError="True" ValidateEmptyText="True" ValidationGroup="checkVa"></asp:CustomValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Email: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server" Width="185"></asp:TextBox>
                        <asp:Label ID="Label4" runat="server" Text="*" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Please input your email!"
                            ControlToValidate="txtEmail" Display="Dynamic" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Email not correct!"
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail"
                            Display="Dynamic" ValidationGroup="checkVa"></asp:RegularExpressionValidator>
                        <asp:CustomValidator ID="CustomValidator2" runat="server" ErrorMessage="Your Email is existed!"
                            ControlToValidate="txtEmail" Display="Dynamic" OnServerValidate="CustomValidator2_ServerValidate"
                            ValidationGroup="checkVa"></asp:CustomValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Your Image: </strong>
                    </td>
                    <td>
                        <asp:FileUpload ID="fuImage" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSend" runat="server" Text="Send" ValidationGroup="checkVa" OnClick="btnSend_Click" />
                        <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
